
#pragma once
//#include "SimpleWizPage1.h"

class CServerItem : public CBaseNodeItem<CServerItem>  
{
public:

	CServerItem(BSTR bstr)
	{
		memset(&m_scopeDataItem, 0, sizeof(SCOPEDATAITEM));
		m_bstrDisplayName.Empty();
		m_bstrDisplayName.Attach(bstr);
		memset(&m_resultDataItem, 0, sizeof(RESULTDATAITEM));
		m_resultDataItem.mask = RDI_STR | RDI_IMAGE | RDI_PARAM;
		m_resultDataItem.str = MMC_CALLBACK;
		m_resultDataItem.nImage = 2;
		m_resultDataItem.lParam = (LPARAM) this;
	}

	LPOLESTR GetResultPaneColInfo(int nCol)
	{
	   switch (nCol)
	   {
	   case 0:
		  return m_bstrDisplayName;
	   }
	  return OLESTR("Override GetResultPaneColInfo");
	}
	
	//HRESULT OnShowContextHelp(IDisplayHelp *pDisplayHelp);
};

